package joat.application.misc;


public class Constants {
	/* automaton names */
	public static final String UI_NAME = "UI";
	public static final String NEWS_FETCHER_NAME = "NewsFetcherAutomaton";
	
	/* messages interpreted by automatons */
	public static final String SCREEN_ORIENTATION_CHANGED = "screen orientation changed";
	public static final String GET_VOICE_INPUT = "get voice input";
	public static final String VOICE_INPUT_RESPONSE = "voice input response: ";
	public static final String ACTIVITY_RESULT = "activity result";
	public static final String ERROR_RESPONSE = "error: ";
	public static final String USER_MESSAGE = "user message: ";
	public static final String TEST_MESSAGE = "test message: ";
	public static final String SEND_AUTOMATON_REQUEST = "send automaton";
	public static final String REQUEST_AUTOMATON_REQUEST = "request automaton";
	public static final String TOGGLE_AUTO_SCROLL = "toggle auto scroll";
	   
	/* error messages */
	public static final String ERROR_VOICE_RECOGNITION_UNAVAILABLE = "Voice recognition unavailable";
	public static final String ERROR_AUDIO = "Audio Error";
	public static final String ERROR_CLIENT = "Client Error";
	public static final String ERROR_NETWORK = "Network Error";
	public static final String ERROR_NO_MATCHES = "No Matches";
	public static final String ERROR_SERVER = "Server Error";
	
	/* other constants */
	public static final int VOICE_RECOGNITION_REQUEST_CODE = 1001;
}
